package com.ruoyi.hualian.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.hualian.domain.HlBearing;
import org.apache.ibatis.annotations.Mapper;

/**
 * 轴承型号Mapper接口
 * 
 * @author hujian
 */
@Mapper
public interface HlBearingMapper extends BaseMapper<HlBearing>
{
    /**
     * 查询轴承型号
     * 
     * @param bearingId 轴承型号主键
     * @return 轴承型号
     */
    public HlBearing selectHlBearingByBearingId(Long bearingId);

    /**
     * 查询轴承型号列表
     * 
     * @param hlBearing 轴承型号
     * @return 轴承型号集合
     */
    public List<HlBearing> selectHlBearingList(HlBearing hlBearing);

    /**
     * 新增轴承型号
     * 
     * @param hlBearing 轴承型号
     * @return 结果
     */
    public int insertHlBearing(HlBearing hlBearing);

    /**
     * 修改轴承型号
     * 
     * @param hlBearing 轴承型号
     * @return 结果
     */
    public int updateHlBearing(HlBearing hlBearing);

    /**
     * 删除轴承型号
     * 
     * @param bearingId 轴承型号主键
     * @return 结果
     */
    public int deleteHlBearingByBearingId(Long bearingId);

    /**
     * 批量删除轴承型号
     * 
     * @param bearingIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHlBearingByBearingIds(Long[] bearingIds);
}
